package com.huadao.cart_ccs.experiment.test;

import com.huadao.cart_ccs.base.BasePresenter;
import com.huadao.cart_ccs.base.BaseView;
import com.huadao.cart_ccs.data.bo.BaseBO;

import java.util.List;
import java.util.Map;

public interface ForceTestContract {
    interface IForceTestView extends BaseView{
        void onAddResult(int index);
        void notifyList();
        double getTargetDate();
        void showExceptionDataCount(int count);
        double getError();
        int getTimes();
        void onFinish();

        int getOperate();
    }

    abstract class IForceTestPresenter extends BasePresenter{
        abstract void operate();
//        abstract void weight();
//        abstract void peel();
        abstract List<BaseBO> getResultList();
        public abstract void clear();

        public abstract Map<Double,Integer> getStaticsResult();

        public abstract boolean isFinish();

        public abstract void stop();

//        public abstract void readInputPump();
//        public abstract void readWastePump();
//        public abstract void readCirclingPump();
//        public abstract void readReclaimPump();
//        public abstract void readCO2();
//        public abstract void readO2();
//        public abstract void readTemperature();
//        public abstract void readLiquidLevel();
    }
}
